package com.gm.census.model.pojo;

import javax.persistence.Id;

import com.google.appengine.api.datastore.Email;
import com.googlecode.objectify.Key;
import com.googlecode.objectify.annotation.Parent;

public class ContactInfo {

	public ContactInfo() {

	}

	public ContactInfo(Email[] emails, String workphone, String homephone,
			String cellphone, Key<Entry> parent) {
		this.emails = emails;
		this.workphone = workphone;
		this.homephone = homephone;
		this.cellphone = cellphone;
		this.parent = parent;
	}

	@Id
	private Long id;
	private Email[] emails;
	private String workphone;
	private String homephone;
	private String cellphone;

	@Parent
	private Key<Entry> parent;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getWorkphone() {
		return workphone;
	}

	public void setWorkphone(String workphone) {
		this.workphone = workphone;
	}

	public String getHomephone() {
		return homephone;
	}

	public void setHomephone(String homephone) {
		this.homephone = homephone;
	}

	public String getCellphone() {
		return cellphone;
	}

	public void setCellphone(String cellphone) {
		this.cellphone = cellphone;
	}

	public Email[] getEmails() {
		return emails;
	}

	public void setEmails(Email[] emails) {
		this.emails = emails;
	}

	public Key<Entry> getParent() {
		return parent;
	}

	public void setParent(Key<Entry> parent) {
		this.parent = parent;
	}
}
